package com.ttbj.salesman.bean.po;

import java.math.BigDecimal;
import java.util.Date;

import com.ttbj.company.bean.po.Company;


/**
 * 业务员信息类 
 */
public class Salesman {
	//主键id
	private Long salesmanId;
	//业务员编号
	private String salesmanNum;
	//业务员真实姓名
	private String salesmanRealName;
	//业务员用户名
	private String salesmanName;
	//业务员密码
	private String salesmanPwd;
	//密码盐值
	private String salesmanSalt;
	//业务员照片
	private String salesmanPic;
	//业务员所属公司编号
	private String salesmanComnum;
	//业务员手机号
	private String salesmanPhone;
	//业务员目标业绩
	private Integer salesmanGoal;
	//业务员奖金
	private BigDecimal salesmanBonus;
	//业务员类型
	private Integer salesmanType;
	//业务员入职时间
	private Date salesmanJoinTime;
	//插入数据时间
	private Date salesmanInsTime;
	//更新数据时间
	private Date salesmanUpdateTime;
	//是否删除本业务员
	private Integer salesmanIsDelete;
	//用户角色主键ID
	private Long salesmanRoleId;
	//用户角色
	private Role role;
	//所属公司
	private Company company;
	//详细地址
	private String salesmanAddr;
	
	
	public Long getSalesmanId() {
		return salesmanId;
	}
	public void setSalesmanId(Long salesmanId) {
		this.salesmanId = salesmanId;
	}
	public String getSalesmanNum() {
		return salesmanNum;
	}
	public void setSalesmanNum(String salesmanNum) {
		this.salesmanNum = salesmanNum;
	}
	public String getSalesmanRealName() {
		return salesmanRealName;
	}
	public void setSalesmanRealName(String salesmanRealName) {
		this.salesmanRealName = salesmanRealName;
	}
	public String getSalesmanName() {
		return salesmanName;
	}
	public void setSalesmanName(String salesmanName) {
		this.salesmanName = salesmanName;
	}
	public String getSalesmanPwd() {
		return salesmanPwd;
	}
	public void setSalesmanPwd(String salesmanPwd) {
		this.salesmanPwd = salesmanPwd;
	}
	public String getSalesmanSalt() {
		return salesmanSalt;
	}
	public void setSalesmanSalt(String salesmanSalt) {
		this.salesmanSalt = salesmanSalt;
	}
	public String getSalesmanPic() {
		return salesmanPic;
	}
	public void setSalesmanPic(String salesmanPic) {
		this.salesmanPic = salesmanPic;
	}
	public String getSalesmanComnum() {
		return salesmanComnum;
	}
	public void setSalesmanComnum(String salesmanComnum) {
		this.salesmanComnum = salesmanComnum;
	}
	public String getSalesmanPhone() {
		return salesmanPhone;
	}
	public void setSalesmanPhone(String salesmanPhone) {
		this.salesmanPhone = salesmanPhone;
	}
	public Integer getSalesmanGoal() {
		return salesmanGoal;
	}
	public void setSalesmanGoal(Integer salesmanGoal) {
		this.salesmanGoal = salesmanGoal;
	}
	public BigDecimal getSalesmanBonus() {
		return salesmanBonus;
	}
	public void setSalesmanBonus(BigDecimal salesmanBonus) {
		this.salesmanBonus = salesmanBonus;
	}
	public Integer getSalesmanType() {
		return salesmanType;
	}
	public void setSalesmanType(Integer salesmanType) {
		this.salesmanType = salesmanType;
	}
	public Date getSalesmanJoinTime() {
		return salesmanJoinTime;
	}
	public void setSalesmanJoinTime(Date salesmanJoinTime) {
		this.salesmanJoinTime = salesmanJoinTime;
	}
	public Date getSalesmanInsTime() {
		return salesmanInsTime;
	}
	public void setSalesmanInsTime(Date salesmanInsTime) {
		this.salesmanInsTime = salesmanInsTime;
	}
	public Date getSalesmanUpdateTime() {
		return salesmanUpdateTime;
	}
	public void setSalesmanUpdateTime(Date salesmanUpdateTime) {
		this.salesmanUpdateTime = salesmanUpdateTime;
	}
	public Integer getSalesmanIsDelete() {
		return salesmanIsDelete;
	}
	public void setSalesmanIsDelete(Integer salesmanIsDelete) {
		this.salesmanIsDelete = salesmanIsDelete;
	}
	public Long getSalesmanRoleId() {
		return salesmanRoleId;
	}
	public void setSalesmanRoleId(Long salesmanRoleId) {
		this.salesmanRoleId = salesmanRoleId;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public Company getCompany() {
		return company;
	}
	public void setCompany(Company company) {
		this.company = company;
	}
	public String getSalesmanAddr() {
		return salesmanAddr;
	}
	public void setSalesmanAddr(String salesmanAddr) {
		this.salesmanAddr = salesmanAddr;
	}
}
